//
//  Tdaily.swift
//  Rainy
//
//  Created by teddy on 4/25/16.
//  Copyright © 2016 teddy. All rights reserved.
//

import Foundation

class Tdaily {
    private var _date: String = ""
    private var _text_day: String = ""
    private var _code_day: String = ""
    private var _text_night: String = ""
    private var _code_night: String = ""
    private var _high: String = ""
    private var _low: String = ""
    private var _precip: String = ""
    private var _wind_direction: String = ""
    private var _wind_direction_degree: String = ""
    private var _wind_speed: String = ""
    private var _wind_scale: String = ""
    
    // 1
    var date: String {
        get{
            return _date
        }
        set{
            _date = newValue
        }
    }
    // 2
    var text_day: String {
        get{
            return _text_day
        }
        set{
            _text_day = newValue
        }
    }
    // 3
    var code_day: String {
        get{
            return _code_day
        }
        set{
            _code_day = newValue
        }
    }
    // 4
    var text_night: String {
        get{
            return _text_night
        }
        set{
            _text_night = newValue
        }
    }
    // 5
    var code_night: String {
        get{
            return _code_night
        }
        set{
            _code_night = newValue
        }
    }
    // 6
    var high: String {
        get{
            return _high
        }
        set{
            _high = newValue
        }
    }
    // 7
    var low: String {
        get{
            return _low
        }
        set{
            _low = newValue
        }
    }
    // 8
    var precip: String {
        get{
            return _precip
        }
        set{
            _precip = newValue
        }
    }
    // 9
    var wind_direction: String {
        get{
            return _wind_direction
        }
        set{
            _wind_direction = newValue
        }
    }
    // 10
    var wind_direction_degree: String {
        get{
            return _wind_direction_degree
        }
        set{
            _wind_direction_degree = newValue
        }
    }
    // 11
    var wind_speed: String {
        get{
            return _wind_speed
        }
        set{
            _wind_speed = newValue
        }
    }
    // 12
    var wind_scale: String? {
        get{
            return _wind_scale
        }
        set{
            _wind_scale = newValue!
        }
    }

}

